package studyNote;

interface Flyable {
    void fly(String abc); // 会飞的能力
}

class PlaneOne implements Flyable {
    public void fly(String abc) {
        System.out.println(abc+"会飞");
    }
    public static void couple(){
        System.out.println("这是主方法");
    }
}

public class InterfaceTest {
    public static void main(String[] args){
        System.out.println("你好");
        PlaneOne a130 = new PlaneOne();
        a130.fly("中国人");
        PlaneOne.couple();
    }
}
